package xin.fsqr520.project.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import xin.fsqr520.project.domain.vo.Result;

@RestController
@RequestMapping("/test")
@Tag(name = "这是一个测试", description = "测试")
public class testConrtoller {

    private static final Logger log = LoggerFactory.getLogger(testConrtoller.class);

    @GetMapping("/api")
    @Operation(summary = "这是一个测试接口", description = "测试嘿嘿嘿")
    public Result<String> api() {
        log.info("测试测试嘻嘻嘻");
        return Result.success("嘻嘻嘻");
    }
}
